package com.yunfangdata.mapper;

import com.yunfangdata.domain.Attns;
import com.yunfangdata.query.QueryObject;

import java.util.List;

public interface AttnsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Attns record);

    Attns selectByPrimaryKey(Long id);

    List<Attns> selectAll();

    int updateByPrimaryKey(Attns record);


    int queryForCount(QueryObject qo);

    /**
     *
     * @param qo
     * @return
     */
    List<Attns> queryForList(QueryObject qo);

    void changeState(Long id);

    List<Attns> queryForListBymove(QueryObject qo);
}